package Month07.day08;

public class Test {
    private String name;
    private String sex;
    private int age;

    public Test() {
    }

    public Test(String name, String sex, int age) {
        this.name = name;
        this.sex = sex;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
    public  void yy(){
        System.out.println(name);
        System.out.println(age);
        System.out.println(sex);
        System.out.println("当你有了对象之后想干嘛就干嘛");
    }
}
